package com.jiang.action;

import com.opensymphony.xwork2.ActionSupport;

public class Struts2Action extends ActionSupport {
	private static final long serialVersionUID = -6845748821603735848L;
	private String msg;
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	@Override
	public String execute() throws Exception {
		
		System.out.println("后台接收到的数据为:" + this.msg);
		return "msg.page";
	}
	
	

}
